Information processing apparatus, method for controlling information processing apparatus, and storage medium

ABSTRACT

According to some embodiments, a printer capability acquiring unit of a general-purpose printer driver acquires, from a printer, definition information (definition for acquisition of apparatus-specific definition) for information acquisition specific to the printer, using definition information for information acquisition (definition for acquisition of apparatus-common information) commonly usable for various printers and independent of vendors or models, acquires, from the printer, configuration information specific to the printer, using the definition for acquisition of apparatus-specific information, and saves the configuration information in an extended information storage unit for each printer. The general-purpose printer driver controls the printer using the configuration information for the printer saved in the extended information storage unit.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. patent application Ser. No.17/861,836, filed Jul. 11, 2022, which is a Continuation of U.S. patentapplication Ser. No. 17/380,679, filed Jul. 20, 2021, now U.S. Pat. No.11,422,758, which is a Continuation of U.S. patent application Ser. No.16/452,190, filed Jun. 25, 2019, now U.S. Pat. No. 11,093,185, whichclaims the benefit of Japanese Patent Application No. 2018-124000, filedJun. 29, 2018, all of which are hereby incorporated by reference hereinin their entirety.

BACKGROUND Field of the Disclosure

The present disclosure relates to control of processing of acquiringinformation from a peripheral apparatus such as a printing apparatus.

Description of the Related Art

In recent years, environments have emerged in which users do not stay inparticular places: mobile information processing terminals are used, andsome companies adopt, for example, a non-territorial operationalenvironment in which employees are not seated in particular placesduring work. Correspondingly, in more and more cases, users desire toperform printing using any of printing apparatus models from variousvendors and various printing apparatus models according to the placewhere the user has moved, in addition to using a fixed printingapparatus as before.

Here, as a printer driver to control a plurality of types of printingapparatuses with different functions, a printer driver referred to as auniversal printer driver is known (refer to, for example, JapanesePatent Application Laid-Open No. 2011-243067).

A technique has been designed that allows print data to be transmittedto a printing apparatus without using a printer driver provided by thevendor of the printing apparatus. For example, Ubuntu® 17.04 is equippedwith a mechanism for transmitting print data to a printing apparatuscompatible with IPP Everyware® as a default function of the OS. IPPEveryware is a series of standards enabling printing using printingapparatuses from various vendors and various brands, and industryassociations and the like have been formulating and promoting standardsfor IPP Everyware.

In general, universal printer drivers as mentioned above are provided ona vendor-by-vendor basis. Accordingly, a single universal printer drivercan be used to enable a plurality of types of printing apparatusescommercially available from the same vendor and having differentfunctions. However, enabling printing apparatuses from different vendorsby using a single universal printer driver has been difficult. This isbecause different vendors transmit and receive print data by usingdifferent communication methods, Page Description Language (PDL) or JobDescription Language (JDL), and thus standardizing the printer driversis difficult. Furthermore, each vendor uniquely extends the PDL or theJDL, and thus uniformly operating the printer drivers is difficult.

Convenience for users is assumed to be improved, even in an executionenvironment such as Windows®, by providing a mechanism for allowingprinting to be performed without installation, on a case-by-case basis,of a V3 or V4 printer driver provided by the vendor.

Such a mechanism is expected to be achieved by allowing printing serviceusing a mechanism compatible with the IPP to be utilized in the Windowsenvironment (refer to, for example, the following URL:http://ug.oipsrv.net/USRMA-0672-zz-PS-jaJP/contents/PS850_network725_printernosetuzokuhouhouippipps.html).

Printing apparatuses commercially available from various vendors areenabled to perform printing by using a general-purpose printer driverindependent of the vendor or model (hereinafter referred to as the“general-purpose printer driver”). However, conventional general-purposeprinter drivers fail to enable apparatus-specific functions.

For example, in a case of acquiring configuration information(capability information) for a printing apparatus, the conventionalgeneral-purpose printer driver can acquire the information concerninggeneral functions by a process of acquiring device configurationinformation compliant with the IPP. However, the conventionalgeneral-purpose printer driver fails to acquire information aboutapparatus-specific functions or new functions by the process ofacquiring device configuration information compliant with the IPP.

SUMMARY

According to embodiments of the present disclosure, there is provided aninformation processing apparatus including a device driver commonlyusable for a plurality of peripheral apparatuses, the informationprocessing apparatus including a first acquisition unit acquiring seconddefinition information that is definition information for informationacquisition specific to any peripheral apparatus of the plurality ofperipheral apparatuses, using first definition information that isdefinition information for information acquisition commonly usable forthe plurality of peripheral apparatuses, a second acquisition unitacquiring, from the any peripheral apparatus, configuration informationspecific to the any peripheral apparatus, using the second definitioninformation acquired from the first acquisition unit, and a storage unitstoring the second definition information acquired by the secondacquisition unit in a storage area for each of the peripheralapparatuses used by the device driver.

Further features of the present disclosure will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION I/F THE DRAWINGS

FIG. 1 is a diagram illustrating an example of a configuration of aninformation processing apparatus of the present embodiment.

FIG. 2 is a diagram illustrating an example of a configuration of asystem including the information processing apparatus of the presentembodiment.

FIG. 3 is a diagram illustrating an example of a software configurationof a client computer.

FIG. 4 is a diagram illustrating an example of an OS standard printsetting screen.

FIG. 5A is a diagram illustrating an example of a print setting screenof a vendor-specific printing extension application.

FIG. 5B is a diagram illustrating an example of a print setting screenof a vendor-specific printing extension application.

FIG. 6 is a diagram illustrating a screen of a vendor-specific tileapplication.

FIG. 7 is a diagram illustrating an example of a definition forapparatus-common (apparatus-independent) information acquisition.

FIG. 8 is a diagram illustrating an example of an extended definitionfor information acquisition with a USB.

FIG. 9 is a diagram illustrating an example of a definition forapparatus-specific (apparatus-dependent) information acquisition.

FIG. 10 is a flowchart illustrating an example of a configurationinformation acquiring process in a first embodiment.

FIG. 11 is a flow chart illustrating an example of a process ofacquiring a definition for apparatus-specific information acquisition ina second embodiment.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present disclosure will now be described in detail inaccordance with the accompanying drawings.

First Embodiment

FIG. 1 is a diagram illustrating an example of a configuration of aninformation processing apparatus according to an embodiment of thepresent disclosure.

In FIG. 1 , a client computer 100 is an information processing apparatusof the present embodiment including a general computer.

A CPU 101 controls a computer 100 as a whole according to a programstored in a ROM 1021 or a RAM 1022 in a main storage apparatus 102 or inan auxiliary storage apparatus 105.

The RAM 1022 is also used as a work area for execution of processes by aCPU 101.

The auxiliary storage apparatus 105 stores various programs such as anapplication 1051 and a device application 1052, a general-purposeprinter driver 1053, and an operating system (OS) 1054. The printerdriver is an example of a device driver. The present disclosure isapplicable to device drivers and is not limited to printer drivers.Examples of the device driver include device drivers for variousperipheral apparatuses (peripheral equipment) such as a scanner driverand a facsimile driver.

Input apparatuses such as a keyboard 1031 and a pointing device 1032typified by a mouse, a touch panel, or a touchpad are connected to thecomputer 100 through an input interface (I/F) 103. The computer 100accepts operations on the programs from the user through these inputapparatuses.

An output I/F 104 connects to an output device such as a monitor 1041 todisplay a UI on the monitor according to program instructions. Someterminals including smartphones and tablet terminals include thepointing device 1032 and the monitor 1041 integrated together. However,the pointing device 1032 and the monitor 1041 are separately representedhere according to roles of these units. In the description below, thepointing device 1032 and the monitor 1041 may of course be replaced witheach other.

The communication I/F 106 is connected to a network 1061 and a UniversalSerial Bus (USB) 1062 and can communicate with external apparatuses ofthe computer 100, for example, a computer 202 and a printer 201 in FIG.2 .

The above-described modules are connected together by a system bus 107and can transmit and receive data among the modules. Programs (1051-1054etc.) for implementing functions of embodiments of the present inventioncan be added to the auxiliary storage apparatus 105 via a CD-ROM, a USBmemory, or the like which is unillustrated. Furthermore, these programscan be added to the auxiliary storage apparatus 105 via the network1061. Unless otherwise noted, the present disclosure is of courseapplicable regardless of the configuration of the apparatus given thefunctions of the present disclosure are executed. The system may includea single apparatus or a plurality of apparatuses and the apparatuses maybe connected together via a local network for processing.

An environment of the network 1061 will be described below using FIG. 2.

FIG. 2 is a diagram illustrating an example of a configuration of asystem including the information processing system of the presentembodiment.

The system of the present embodiment includes one or more printingapparatuses (also referred to as image forming apparatuses) such as acomputer 100/202 to create documents or images to be printed connectedto the network. Furthermore, one or more printers 201 may be connectedto the network or to the computer 100/202 via the USB 1062. An exampleof a peripheral apparatus is an image forming apparatus. An example ofthe image forming apparatus may be the printer 201, a scanner, afacsimile machine, or a multi-function printer including a scanner and afacsimile machine.

The network includes small- to large-scale networks such as a PersonalArea Network (PAN) and a LAN, and these apparatuses are connected to allof the networks. A server such as a cloud and a printer may be connectedto the system via the Internet. A communication scheme in this caseincludes, but not limited to, Bluetooth® communication and communicationusing cellular phone line in compliance with the IMT-2000 standards, aswell as wireless LAN communication compliant with the IEEE 802.11standards. The IMT-2000 represents “International MobileTelecommunication 2000”. Furthermore, in regard to the USB, relayingwith a USB hub or an exchange may be used instead of direct connection.

FIG. 3 is a diagram illustrating an example of a software configurationof a client computer 100. In the present embodiment, the application1051 and the general-purpose printer driver 1053 will be described indetail. In particular, the following will be described in detail: aprinting extension application 10511 included in the application 1051, aconfig module 10531 that is a component of the general-purpose printerdriver 1053, and a graphics filter 10532. Software modules illustratedin FIG. 3 are implemented to function by the CPU 101 by loading, intothe RAM 1022, a program stored in the auxiliary storage apparatus 105and the like and executing the program.

The application 1051 is a general application such as a word processoror a browser. The application 1051 displays the UI on the monitor 1041and receives a user's print request via the input apparatus such as thepointing device 1032 or the keyboard 1031. The application 1051 havingreceived the user's print request issues a print request to a printingsystem (not illustrated) that is a subsystem of the OS 1054. Theprinting system is positioned between the application 1051 and thegeneral-purpose printer driver 1053 to execute processes common to aprinting process. Specific processes executed include selection of aprinting target printer and conversion, using the general-purposeprinter driver 1053 selected, into a print instruction interpretable bythe printer 201.

The printing extension application 10511 includes a tile applicationunit 301 and a detailed information setting UI unit 302.

The tile application unit 301 is a UI unit executed in response to auser operation activating the printing extension application 10511. Thetile application unit 301 displays a list of registered printers asillustrated in FIG. 6 and provides functions such as display of aprinter status.

FIG. 6 is a diagram illustrating a screen of a vendor-specific tileapplication.

An information acquisition button 601 illustrated in FIG. 6 is used toacquire the status of a printer.

The detailed information setting UI unit 302 is a UI unit executed byreceiving a detailed print setting event performed by the OS 1054.Specifically, by clicking a link 401 to a detailed setting screenpresent in a print setting screen illustrated in FIG. 4 and provided asan OS standard, the detailed information setting UI unit 302 is causedto display the UI of the printing extension application 10511 asillustrated in FIG. 5A and FIG. 5B.

FIG. 4 is a diagram illustrating an example of an OS standard printsetting screen.

FIG. 5A and FIG. 5B are diagrams illustrating an example of a printsetting screen of a vendor-specific printing extension application. Thiswill be described below in detail.

A printer driver is generally a module responsible for processesdependent on a printer for which printing is to be destined. However,the general-purpose printer driver 1053 of the present embodimentcomplies with standards and can perform communication and printingindependently of the vendor or model of the printer. The general-purposeprinter driver 1053 is a printer driver which can be utilized commonlyfor a plurality of printers from different vendors or different models.The general-purpose printer driver 1053 include additional functions anddetailed setting screens that can be extended by installation of theprinting extension application 10511.

The config module 10531 includes a data retaining unit 303 and a printercapability acquiring unit 304.

The data retaining unit 303 corresponds to a storage area storing dataused in the general-purpose printer driver 1053. Here, the dataretaining unit 303 corresponds not only to a file system or a registrypresent on the auxiliary storage apparatus 105 but also to volatile datatemporarily stored in the RAM 1022.

The data retaining unit 303 includes a basic information storage unit3031 and an extended information storage unit 3032.

The basic information storage unit 3031 is an area where the followingis stored: information, definitions and the like related to settings andspecifications defined before the general-purpose printer driver 1053 isinstalled and common or commonly used in the vendor. Specifically, thestored information, definitions and the like include definitions relatedto capabilities necessary to print and print setting such as acorresponding sheet size and a color setting, definitions related toprohibitions, for example, “an A3 size does not allow for stapling”, anddefinitions related to information acquired during communication(definitions for information acquisition common to apparatuses). Thebasic information storage unit 3031 may also store conversion tables fordata for avoiding dependency common to printers of each vendor, anddefinitions for conversion logic. Thus, the basic information storageunit 3031 stores information commonly usable for a plurality of printersfrom different vendors or different models.

On the other hand, the extended information storage unit 3032 storesdata defined in order to extend the functions after the general-purposeprinter driver 1053 is installed. The data corresponds to, for example,support information about special sheets, definitions related toapparatus-specific functions such as definitions related to functionsusing apparatus-specific finishers, and information used to controlsettings after installation such as customization of default values andsetting of favorites. Furthermore, the data may be information otherthan print settings, that is, information for internal use such as imagequality correction including calibration.

Thus, the basic information storage unit 3031 stores information thatcan be utilized commonly for a plurality of printing apparatuses fromdifferent vendors or different models (for example, definitioninformation for information acquisition common to apparatuses).Furthermore, the extended information storage unit 3032 storesapparatus-specific information (for example, definition information forapparatus-specific information acquisition). The data retaining unit 303is provided for each printer.

The printer capability acquiring unit 304 acquires apparatusconfiguration information, user set information, and the like from theprinter 201. Communication used for the acquisition uses any of standardprotocols including Internet Printing Protocol (IPP) and Web Service onDevices (WSD) and refers to communication that can be executed by the OS1054.

Applications including the printing extension application 10511 isassumed to be allowed to independently invoke processing of the printercapability acquiring unit 304. In the description below, the IPP is usedby way of example. The printer capability acquiring unit 304 acquiresthe capability information stored in the basic information storage unit3031 using a printer attribute request operation (Get-Printer-AttributesOperation) designated as “RFC2911”. The printer capability acquiringunit 304 also transmits a Get-Printer-Attributes Request to the printer201. As a response to the request, attribute information for the printer201 is obtained. The printer capability information obtained by theprinter attribute request operation includes capability information forstandard print settings, for example, “double side” and “colorprinting”.

The graphics filter 10532 receives from the application 1051, via theprinting system, standard document data including setting informationgenerally interpretable by printers, and a standard document dataanalyzing unit 305 analyzes the standard document data. The graphicsfilter 10532 uses an output data generating unit 306 to convert thestandard document data such that the resultant data reflects the printsettings. The converted standard document data is delivered to a systemspooler 10541 that is a subsystem of the OS 1054, which then transmitsthe data to the printer 201.

The standard document data as used herein refers to standard PageDescription Language (PDL) such as XPS, PDF, or Post Script (PS), or PDLextended by addition of additional data. XPS refers to an “XML PaperSpecification”. PDF refers to a “Portable Document Format”.

In the following, processing of the present embodiment will be describedin brief.

In the present embodiment, configuration information is acquired fromthe printer 201. However, the general-purpose printer driver 1053 isindependent of the vendor or model. Thus, conventional methods fail toacquire information dependent on the model including model-specificfunctions. For example, a “staple” capability is common, and can thus becan be defined as information common among vendors and models so as tobe acquirable by a standard configuration information acquiring process.However, the capability of “needle-less binding” function to performbinding using no metal needle belongs only to particular models, andthus, the information fails to be acquired by the standard configurationinformation acquiring process. Thus, in the present embodiment, first,an inquiry for a definition for acquisition of model-specificinformation is made to the printer 201 using a definition foracquisition of model common information (the definition can be utilizedcommonly for a plurality of printers from different vendors or differentmodels). Then, the acquired definition for acquisition of model-specific(model-dependent) information is used to acquire model-specificcapability information from the printer 201.

The above-described processing will be described using a flow in FIG. 10.

FIG. 10 is a flowchart illustrating an example of a configurationinformation acquiring process in the first embodiment. In the presentembodiment, in a case where configuration information is acquired,model-dependent definitions are acquired from a printer and themodel-dependent definitions are used to acquire model-specificinformation from the printer. The process in the flowchart isimplemented by the CPU 101 of the client computer 100 by loading, intothe RAM 1022, the program stored in the auxiliary storage apparatus 105or the like and executing the program. The process illustrated in thepresent flowchart is assumed to be executed in the printer capabilityacquiring unit 304 of the general-purpose printer driver 1053 invoked bythe OS 1054 unless otherwise noted. Here, the printer 201 will bedescribed by way of example.

Furthermore, timings at which the process illustrated in the presentflowchart is executed are properly invoked by events generated from theOS 1054, events generated from the printer 201, and events generated bya user operation. First, the events generated from the OS 1054 refer to,for example, an event generated at a timing when the general-purposeprinter driver 1053 is installed and initialized, and an event generatedwhen the OS 1054 is connected to the network or a connection state ischanged. The event may also be generated at given time intervalsscheduled by the system or at particular points in time. Furthermore,the events generated from the printer 201 refer to, for example, eventsgenerated when the printer 201 updates the settings or is activated andwhen an option such as a finisher is attached to (removed from) theprinter. The events generated from the printer 201 also include an eventgenerated, for example, when the status of the printer 201 is updated.Furthermore, the events generated by the user operation are generatedwhen the printing extension application 10511 linked to thegeneral-purpose printer driver 1053 is operated. For example, the eventsgenerated by the user operation correspond to operations of theinformation acquisition button 601 of the tile application unit 301 andthe information acquisition button 501 of the detailed informationsetting UI unit 302. Furthermore, activation and termination of theprinting extension application 10511 by the user are also considered asevents generated by the user operation.

First, in S1001, the printer capability acquiring unit 304 determineswhether a definition for acquisition of model-specific information ispresent. Specifically, the printer capability acquiring unit 304determines whether any definition for acquisition of model-specificinformation is present in the extended information storage unit 3032 ofthe data retaining unit 303 corresponding to the printer 201. At thistime, a determination condition may be that information similar to adefinition for acquisition of model-specific information has been loadedonto the RAM 1022 of the system or that a flag is set indicating that adefinition for acquisition of model-specific information has beenacquired.

In a case of determining in S1001 that no definition for acquisition ofmodel-specific information is present (No in S1001), the printercapability acquiring unit 304 advances the process to S1002 and controlsthe printer 201 to acquire a definition for acquisition ofmodel-specific information.

In S1002, the printer capability acquiring unit 304 loads the definitionfor acquisition of apparatus-common information. As described above, thedefinition for acquisition of apparatus-common information is saved inthe basic information storage unit 3031 of the data retaining unit 303corresponding to the printer 201 as data independent of the model. Thedefinition is, for example, as illustrated in FIG. 7 .

FIG. 7 is a diagram illustrating an example of a definition foracquisition of apparatus-common (apparatus-independent) information.

A definition 701 for acquisition of capability information is requestinformation for acquiring, from the printer 201, a definition foracquisition of model-specific information. Making this request enablesacquisition, from the printer 201, of a definition for acquisition ofapparatus-specific information as illustrated in FIG. 9 . The request ofthe present embodiment assumes acquisition of a definition in the formof a character string. However, data may otherwise be acquired in abinary format or in another data format such as JSON instead of XML asin the present example, which is then converted for use.

FIG. 9 is a diagram illustrating an example of a definition foracquisition of apparatus-specific (apparatus-dependent) information.

Then, in S1003, the printer capability acquiring unit 304 acquires, fromthe printer 201, a definition for acquisition of apparatus-specific(apparatus-dependent) information based on the information loaded inS1002 (definition for acquisition of apparatus-common(apparatus-independent) information). The information acquired is loadedinto the RAM 1022 of the system. At this time, the OS 1054 controlsprocesses such as establishment of connection and retransmission processduring data acquisition. Furthermore, a process for USB connectionconditions is basically similar to the process for network connectionconditions. However, in a case where data used for communication by theprinter 201 is specific to a vendor or needs special processing, anexecutable script as illustrated in FIG. 8 may be loaded to allow anappropriate process to be executed. The present script is loaded toallow the printer 201 to execute a printing process or to allowinformation to be acquired. The script allows execution of a functionwith a name specified according to the contents of the process.

FIG. 8 is a diagram illustrating an example of an extended definitionfor information acquisition with the USB.

For example, when information is acquired, a getSchemas function of FIG.8 is invoked to invoke a process described in the function. In thepresent example, the getSchemas function is invoked, but for example, ina case of IPP connection, a process linked to a GetPrinterAttibutefunction is invoked. Furthermore, in this process, for example, whendata returned from the printer is vendor-specific binary data or data ina predetermined format, the data is converted. The following process mayalso be executed: waiting for a process of the printer 201 to end duringcommunication or during branching of a process on anapparatus-by-apparatus basis such as switching of the conversion processon an apparatus-by-apparatus basis, or matching of communication data ina case where information acquisition and a printing process run inparallel. Data conversion using this script enables a process to beexecuted as is the case with normal communication in the network.

Then, in 51004, the printer capability acquiring unit 304 saves the dataacquired in S1003 (definition for acquisition of apparatus-specificinformation) to the extended information storage unit 3032 of the dataretaining unit 303 corresponding to the printer 201. The printercapability acquiring unit 304 advances the process to S1005.

Furthermore, in a case of determining, in S1001, that any definition foracquisition of model-specific information is present (Yes in S1001), theprinter capability acquiring unit 304 advances the process to S1005.

In S1005, the printer capability acquiring unit 304 executes a processof applying the definition for acquisition of apparatus-specificinformation. Here, the process is assumed to include replacing anapparatus-common definition as illustrated in FIG. 7 with a definitionas illustrated in FIG. 9 . However, in a case where the apparatus-commondefinition does not conflict with the apparatus-specific definition,both definitions may be loaded or the two files may be merged.

Then, in S1006, the printer capability acquiring unit 304 executes aprocess of applying the information updated by the process in S1005. Thepresent process corresponds to reloading of a setting or invocation of aprocess to be applied but may be invocation of a system initializationprocess. Furthermore, the system spooler 10541, managed by the OS 1054,is reactivated as needed. During reactivation, the process of theprinter capability acquiring unit 304 may be re-executed as needed usinga task scheduler or an external process.

Then, in 51007, the printer capability acquiring unit 304 acquires, fromthe printer 201, apparatus-specific (apparatus-dependent) informationbased on the definition for acquisition of apparatus-specificinformation applied in S1006. In the present example, information isacquired using a definition for acquisition of apparatus-specificinformation as illustrated in FIG. 9 . For example, an apparatus-commondefinition 901 is a definition for acquisition of information on anapparatus-common setting of whether stapling is enabled. Furthermore, anapparatus-specific definition 902 is a definition for acquisition ofapparatus-specific information such as “punching or needle-lessbinding”. In the present step, information is acquired according to sucha definition. The printer capability acquiring unit 304 saves theconfiguration information thus acquired in the extended informationstorage unit 3032 of the data retaining unit 303 corresponding to theprinter 201, to end the process in the present flowchart.

Now, an example of a setting screen displayed based on the informationacquired will be described using FIG. 5A and FIG. 5B. FIG. 5Aillustrates an example of a setting screen displayed in a case where noapparatus-specific information has been acquired. Furthermore, FIG. 5Billustrates an example of a setting screen displayed in a case whereapparatus-specific information has been acquired.

The screens in FIG. 5A and FIG. 5B are displayed in response to the OS1054 detecting a user operation for print setting and then invoking theprinting extension application 10511 corresponding to the printer to beused for printing. The printing extension application 10511 activated bythe OS 1054 acquires function information stored in the data retainingunit 303 of the general-purpose printer driver 1053 and corresponding tothe printer to be used for printing. The detailed information setting UIunit 302 of the printing extension application 10511 displays a settingscreen as illustrated in FIG. 5A or FIG. 5B based on the informationacquired.

For example, in response to the user operating the informationacquisition button 501 on the setting screen in FIG. 5A, the process inFIG. 10 described above is executed. Then, in a case where an event isreceived from the OS 1054, the detailed information setting UI unit 302updates display of the detailed setting screen using theapparatus-specific (apparatus-dependent) configuration informationacquired by the process in FIG. 10 . This enables the setting screenbefore apparatus information acquisition as illustrated in FIG. 5A to beswitched to the setting screen as illustrated in FIG. 5B also includingapparatus-specific settings. The general-purpose printer driver 1053then uses the print settings provided in the setting screen asillustrated in FIG. 5B to control the printer 201. For example, thegeneral-purpose printer driver 1053 transmits a print job or the like tothe printer 201 based on the print settings provided on the settingscreen provided on the setting screen as illustrated in FIG. 5B.

As described above, the general-purpose printer driver can performacquisition of information regarding apparatus-specific functions, theacquisition failing to be enabled by the formulated standards.

Second Embodiment

In a case described in a second embodiment, a definition for acquisitionof apparatus-specific information is present on the server. In theconfiguration described in the first embodiment, an inquiry for adefinition for acquisition of apparatus-specific information is made tothe printer. However, a configuration described in the second embodimentacquires a definition from the server.

FIG. 11 is a flowchart illustrating an example of a process of acquiringa definition for acquisition of apparatus-specific information in thesecond embodiment. The process is executed in place of S1002 and S1003in FIG. 10 .

The process in the flowchart is implemented by the CPU 101 of the clientcomputer 100 by loading, into the RAM 1022, a program stored in theauxiliary storage apparatus 105 or the like and executing the program.The process illustrated in the present flowchart is assumed to beexecuted in the printer capability acquiring unit 304 of thegeneral-purpose printer driver 1053 invoked by the OS 1054 unlessotherwise noted.

In S1101, the printer capability acquiring unit 304 acquires a locationwhere a definition for acquisition of apparatus-specific information isstored. Information about the storage location may be predefined on thegeneral-purpose printer driver 1053 or may be a file reference describedon the apparatus-common definition. In a case where the storage locationvaries depending on the vendor or the model, the storage location may beacquired using information about the vendor, model, or the like of theprinter 201. Furthermore, in regard to the storage location, a file forthe definition for acquisition of apparatus-specific information locatedon the Internet, uploaded as a shared file onto the server, or locatedin a local storage may be used. Furthermore, a file sharing mechanismprovided on the printer 201 may be used to store the file.

Then, in 51102, the printer capability acquiring unit 304 executes anauthentication process on the storage location for the definition foracquisition of apparatus-specific information, the storage locationhaving been acquired in S1101.

Then, in S1103, the printer capability acquiring unit 304 acquires thefile for the definition for acquisition of apparatus-specificinformation from the storage location for the definition for acquisitionof apparatus-specific information, the storage location having beenacquired in S1101. The definition is acquired using information aboutthe vendor, model, or the like of the printer 201 as needed whileacquiring.

Execution of the above-described process allows acquisition of the filefor the definition for acquisition of apparatus-specific informationlocated in the server or the like.

As illustrated above, according to each embodiment, informationregarding the model-specific function of the printing apparatus can beacquired from the general-purpose printer driver commonly usable forvarious types of printers and independent of the vendor or the model;this acquisition fails to be enabled by the formulated standards.

The configurations and contents of the various data described above arenot limited to the above description and may be varied according toapplications and purposes.

Embodiments have been described. However, embodiments of the presentdisclosure can take a form of, for example, a system, an apparatus, amethod, a program, or a storage medium. Specifically, the presentdisclosure may be applied to a system including a plurality ofapparatuses or to a single apparatus.

Furthermore, the present disclosure includes all configurationscorresponding to combinations of the above-described embodiments.

Other Embodiments

Embodiment(s) of the present disclosure can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

Furthermore, the present disclosure may be applied to a system includinga plurality of apparatuses or to a single apparatus.

While the present disclosure includes exemplary embodiments, it is to beunderstood that the disclosure is not limited to the disclosed exemplaryembodiments. The scope of the following claims is to be accorded thebroadest interpretation so as to encompass all such modifications andequivalent structures and functions.

According to embodiments of the present disclosure, the general-purposedevice driver can be used to perform acquisition of informationregarding model-specific functions of a peripheral apparatus, theacquisition failing to be enabled by the formulated standards. Accordingto embodiments of the present disclosure, a mechanism can be providedthat can reduce device-dependent portions of system software.

What is claimed is:
 1. An information processing apparatus comprising: amemory configured to store a printer driver and first informationindicating a first function; a controller configured to: obtain, from aprinter, first capability information regarding the first function basedon the stored first information; obtain, from an external apparatus,second information indicating a second function, wherein the firstinformation is stored in the memory before the second information isobtained; obtain, from the printer, second capability informationregarding the second function based on the obtained second information;cause a display to display a first object corresponding to the firstfunction based on the obtained first capability information; cause thedisplay to display a second object corresponding to the second functionbased on the obtained second capability information; and generate printdata based on a first setting value set via the displayed first objectand a second setting value set via the displayed second object.